Get the current timeΒΆ

datetime.datetime.now().time()

Get the current time in python.
Sample Format :
13:19:49.078205
import datetime

print(datetime.datetime.now().time())

Output:

18:08:21.552122